Ext.define('AmpleHarvest.objects.metrics.site.objects.cDetails',
{
	extend		: 'Ext.panel.Panel',
	alias		: 'widget.ampleharvest-objects-metrics-site-objects-cdetails',
	anchor		: '100%',
	border		: false,
	layout		: 'fit',
	autoScroll	: true,
	
    initComponent	: function()
	{
		var arr_tpl_Site = [
		                    '<div align="center">',
		                    '<div><span>Title:</span><span style="font-weight:bold"> {title}</span></div>',
		        			'<div><span>Views:</span><span style="font-weight:bold"> {viewCount}</span></div>',
		        			'<div><span>Posts:</span><span style="font-weight:bold"> {postCount}</div>',
		        			'<div><span>Harvest Date:</span></span><span style="font-weight:bold"> {harvestDate}</div>',
		        			'<div><span>Last Post Date:</span></span><span style="font-weight:bold"> {lastPostDate}</div>',
		        			'</div>'
		         	    ];
	    this.obj_template = Ext.create('Ext.Template', arr_tpl_Site);
	
		this.obj_template.compile();
		
		this.callParent();
	}
});